package org.ghost.spring.cloud.consumer.demo.service;

import org.ghost.spring.cloud.consumer.demo.dto.RspDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("PROVIDER")
public interface IHelloService {
    @RequestMapping(value = "/demo/test1")
    String test1();

    @RequestMapping(value = "/demo/test2")
    RspDTO test2();

    @RequestMapping(value = "/demo/test3")
    RspDTO test3();

    @RequestMapping(value = "/demo/test4")
    RspDTO test4();
}
